<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
			<!--新增软件资产窗口-->
			<div id="modal-addsoft" class="iziModal">
				<form role="form" method="POST" onsubmit="addsoft(this);return false;" class="form-inline">
					{% csrf_token %}
					<div class="container-fluid">
						<div class="row p-3">
						  <div class="col-12 mb-3">
							<h4><strong>新增软件资产</strong></h4>
						  </div>
						  <div class="col-4 mb-3">
							<label class="float-right">软件类型:</label>
						  </div>
						  <div class="col-8 mb-3">
							  <select class="form-control" name="subassettype" style="width: 100%;">
								<option selected="selected">操作系统</option>
								<option>办公\开发软件</option>
								<option>业务软件</option>
							  </select>
						  </div>

						  <div class="col-4 mb-3">
							<label class="float-right">授权数量:</label>
						  </div>
						  <div class="col-8 mb-3">
							<input type="number" class="form-control" name="licensenum" maxlength="256" value=1 required style="width: 100%;">
						  </div>

						  <div class="col-4 mb-3">
							<label class="float-right">软件/系统版本:</label>
						  </div>
						  <div class="col-8 mb-3">
							<input type="text" class="form-control" name="version" maxlength="256" required style="width: 100%;">
						  </div>

						  <div class="col-6 pl-3 pr-3">
							<button type="button" class="btn btn-block btn-secondary btn-flat" data-iziModal-close>取消</button>
						  </div>
						  <div class="col-6 pl-3 pr-3">
							<button type="submit" class="btn btn-block btn-success btn-flat" onclick="javascript:void(0);">新增</button>
						  </div>
						</div>
					</div>
			  </form>
			</div>
</body>
</html>